<?php
class SiteManagerController extends ManageBaseController
{
	var $usertype = USER_TYPE_MANAGER;	
    public function _initNavigation()
    {
 		$sModule = $this->getRequest()->getModuleName();
        $pages = array(
            array(
            	'module' 	=> $sModule,
            	'action'	=> 'index',
                'controller'=> 'special-offers',
                'label'		=> _('Акции'),
            ),
            array(
            	'module' 		=> $sModule,
                'controller' 	=> 'articles',
				'action'        => 'index',
                'label'         => _('Статьи'),
            ),
            array(
            	'module' 		=> $sModule,
                'controller' 	=> 'news',
				'action'        => 'index',
                'label'         => _('Новости'),
				),            
            array(
            	'module' 		=> $sModule,
                'controller' 	=> 'country',
				'action'        => 'index',
                'label'         => _('Страны'),
				),            
            array(
            	'module' 		=> $sModule,
                'controller' 	=> 'object',
				'action'        => 'index',
                'label'         => _('Объекты'),
				),
            array(
            	'module' 		=> $sModule,
                'controller' 	=> 'references',
				'action'        => 'index',
                'label'         => _('Отзывы'),
				),
            array(
            	'module' => '',
                'controller' => 'auth',
            	'params' => array(
            		'logout' => 'yes'
            	),
                'label'         => _('Выход'),
            ),
        );
 
        $container = new Zend_Navigation($pages);
        Zend_Registry::set('Zend_Navigation', $container);
    }	
}

